package com.nov.multidatasource.entity.primary;

import lombok.Getter;
import org.springframework.stereotype.Repository;

import java.io.Serializable;
import java.util.List;

@Getter
@Repository("CURRENTTASK")
public class V3CurrentTask implements Serializable {

    /**
     *
     */
    private static final long serialVersionUID = 1L;

    private String id;//逻辑主键

    private String objid;//业务逻辑id

    private String billnum;//单据编号

    private String billtype;//单据类型

    private String billtypeName;//单据类型中文名称

    private String busi_serial_no;//业务流水号

    private String moduleName;//制单人所属集团

    private String cash;//金额

    private String orgCode;// 机构（公司）代码

    private String orgname;// 机构（公司）名

    private String departCode;//机构

    private String systemCode;//应用系统

    private String project;// 项目
    private String contract;// 合同
    private String projectname;// 项目名称
    private String contractname;// 合同名称

    private String user_name;//制单人姓名

    private String user_no;// user pk制单人编号

    private String billdate;//单据日期

    private String OCRStatus;//OCR状态

    private String taskState;//任务状态

    private String taskStateName;//任务状态中文名

    private String startdate;//开始日期

    private String enddate;//结束日期

    private String amountstart;//总计

    private String amountend;
    private String billstate;//单据状态
    private String billstatename;//单据状态名
    private String tasktype;// 任务类型，对应接收获取任务报文中的billstate
    private String tasktypename;//任务状态中文名

    private String a_billnum;//A单的单据号 —— 暂不使用

    private String scanType;//扫描方式

    private String scanTypeName;//扫描方式中文名

    private String billPaperFrom;//纸质票据来源

    private String operSuggest;//审批建议

    private String remark;//备注

    private String approvalstate;// 审批状态：0 未同步；1 成功；2 同步失败
    private String approvalstatename;//审批状态名

    private String createtime;//创建时间

    private String jine1flag;// 0表示包含=,1表示不包含==
    private String jine1;//金额范围最小值
    private String jine2flag;// 0表示包含=,1表示不包含==
    private String jine2;//金额范围最大值

    // 影像分享新增的属性
    private String applyType;// 是否可以多次关联 0:多次 1 ：单次
    private String shareType;// 分享模式 0：不分享 1：整体分享 2：单张分享
    // 正常制单时可以关联的影像批次号
    private List<String> sharedBatchs;// 可以关联的影像批次号

    private String sharedbatches;//可以关联的影像批次号

    private String isShared;// 是否被关联过 -1：不能被关联 0 ：被关联过 1 ： 没有被关联过

    private String storageNum;//入库编号


    private String isidentify;// 扫描任务是否ocr识别

    private String groupid;//组织机构号

    private String relatedbusi_serial_no;//关联业务流水号

    private String user_num;// nc制单人直接登录系统的用户名

    private String pk_billtype;//单据类型

    private String pastelistcount;// 黏贴单张数

    private String accessorycount;// 附件张数

    public void setPastelistcount(String pastelistcount) {
        this.pastelistcount = pastelistcount;
    }

    public void setAccessorycount(String accessorycount) {
        this.accessorycount = accessorycount;
    }

    public void setUser_num(String userNum) {
        user_num = userNum;
    }

    public void setRelatedbusi_serial_no(String relatedbusiSerialNo) {
        relatedbusi_serial_no = relatedbusiSerialNo;
    }

    public void setGroupid(String groupid) {
        this.groupid = groupid;
    }

    public void setIsidentify(String isidentify) {
        this.isidentify = isidentify;
    }

    public void setApprovalstate(String approvalstate) {
        this.approvalstate = approvalstate;
    }

    public void setApprovalstatename(String approvalstatename) {
        this.approvalstatename = approvalstatename;
    }

    public void setProjectname(String projectname) {
        this.projectname = projectname;
    }

    public void setContractname(String contractname) {
        this.contractname = contractname;
    }

    public void setProject(String project) {
        this.project = project;
    }

    public void setContract(String contract) {
        this.contract = contract;
    }

    public void setIsShared(String isShared) {
        this.isShared = isShared;
    }

    public void setSharedbatches(String sharedbatches) {
        this.sharedbatches = sharedbatches;
    }

    public void setApplyType(String applyType) {
        this.applyType = applyType;
    }

    public void setShareType(String shareType) {
        this.shareType = shareType;
    }

    public void setSharedBatchs(List<String> sharedBatchs) {
        this.sharedBatchs = sharedBatchs;
    }

    public void setBillstate(String billstate) {
        this.billstate = billstate;
    }

    public void setBillstatename(String billstatename) {
        this.billstatename = billstatename;
    }

    public void setOrgname(String orgname) {
        this.orgname = orgname;
    }

    public void setTasktype(String tasktype) {
        this.tasktype = tasktype;
    }

    public void setTasktypename(String tasktypename) {
        this.tasktypename = tasktypename;
    }

    public void setStartdate(String startdate) {
        this.startdate = startdate;
    }

    public void setEnddate(String enddate) {
        this.enddate = enddate;
    }

    public void setAmountstart(String amountstart) {
        this.amountstart = amountstart;
    }

    public void setAmountend(String amountend) {
        this.amountend = amountend;
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setObjid(String objid) {
        this.objid = objid;
    }

    public void setBillnum(String billnum) {
        this.billnum = billnum;
    }

    public void setBilltype(String billtype) {
        this.billtype = billtype;
    }

    public void setBilltypeName(String billtypeName) {
        this.billtypeName = billtypeName;
    }

    public void setBusi_serial_no(String busiSerialNo) {
        busi_serial_no = busiSerialNo;
    }

    public void setModuleName(String moduleName) {
        this.moduleName = moduleName;
    }

    public void setCash(String cash) {
        this.cash = cash;
    }

    public void setOrgCode(String orgCode) {
        this.orgCode = orgCode;
    }

    public void setDepartCode(String departCode) {
        this.departCode = departCode;
    }

    public void setSystemCode(String systemCode) {
        this.systemCode = systemCode;
    }

    public void setUser_name(String userName) {
        user_name = userName;
    }

    public void setUser_no(String userNo) {
        user_no = userNo;
    }

    public void setBilldate(String billdate) {
        this.billdate = billdate;
    }

    public void setOCRStatus(String oCRStatus) {
        OCRStatus = oCRStatus;
    }

    public void setTaskState(String taskState) {
        this.taskState = taskState;
    }

    public void setTaskStateName(String taskStateName) {
        this.taskStateName = taskStateName;
    }

    public void setA_billnum(String aBillnum) {
        a_billnum = aBillnum;
    }

    public void setScanType(String scanType) {
        this.scanType = scanType;
    }

    public void setScanTypeName(String scanTypeName) {
        this.scanTypeName = scanTypeName;
    }

    public void setBillPaperFrom(String billPaperFrom) {
        this.billPaperFrom = billPaperFrom;
    }

    public void setOperSuggest(String operSuggest) {
        this.operSuggest = operSuggest;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public void setJine1(String jine1) {
        this.jine1 = jine1;
    }

    public void setJine2(String jine2) {
        this.jine2 = jine2;
    }

    public void setJine1flag(String jine1flag) {
        this.jine1flag = jine1flag;
    }

    public void setJine2flag(String jine2flag) {
        this.jine2flag = jine2flag;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }

    public void setStorageNum(String storageNum) {
        this.storageNum = storageNum;
    }

    public void setPk_billtype(String pkBilltype) {
        pk_billtype = pkBilltype;
    }

    @Override
    public String toString() {
        return "CurrentTask [OCRStatus=" + OCRStatus + ", a_billnum=" + a_billnum + ", accessorycount=" + accessorycount
                + ", amountend=" + amountend + ", amountstart=" + amountstart + ", applyType=" + applyType
                + ", approvalstate=" + approvalstate + ", approvalstatename=" + approvalstatename + ", billPaperFrom="
                + billPaperFrom + ", billdate=" + billdate + ", billnum=" + billnum + ", billstate=" + billstate
                + ", billstatename=" + billstatename + ", billtype=" + billtype + ", billtypeName=" + billtypeName
                + ", busi_serial_no=" + busi_serial_no + ", cash=" + cash + ", contract=" + contract + ", contractname="
                + contractname + ", createtime=" + createtime + ", departCode=" + departCode + ", enddate=" + enddate
                + ", groupid=" + groupid + ", id=" + id + ", isShared=" + isShared + ", isidentify=" + isidentify
                + ", jine1=" + jine1 + ", jine1flag=" + jine1flag + ", jine2=" + jine2 + ", jine2flag=" + jine2flag
                + ", moduleName=" + moduleName + ", objid=" + objid + ", operSuggest=" + operSuggest + ", orgCode="
                + orgCode + ", orgname=" + orgname + ", pastelistcount=" + pastelistcount + ", pk_billtype="
                + pk_billtype + ", project=" + project + ", projectname=" + projectname + ", relatedbusi_serial_no="
                + relatedbusi_serial_no + ", remark=" + remark + ", scanType=" + scanType + ", scanTypeName="
                + scanTypeName + ", shareType=" + shareType + ", sharedBatchs=" + sharedBatchs + ", sharedbatches="
                + sharedbatches + ", startdate=" + startdate + ", storageNum=" + storageNum + ", systemCode="
                + systemCode + ", taskState=" + taskState + ", taskStateName=" + taskStateName + ", tasktype="
                + tasktype + ", tasktypename=" + tasktypename + ", user_name=" + user_name + ", user_no=" + user_no
                + ", user_num=" + user_num + "]";
    }

}
